import itertools

# a = '100000'
# b='010000'
# print((int(a,2) & int(b,2) == 0))
#
# t2 = 10
# t1 = 2
# print(f"第个方案生成成功。用时：{t2 - t1}")
#
# t=[]
# d=(1, 1, 1, 180, True)
# a=[(242, 0), (268, 0), (190, 4)]
# # b=[('1000000', 96, 18, '011110000000000000', 0), ('0100000', 96, 18, '011110000000000000', 0), ('0010000', 96, 18, '011110000000000000', 0), ('0001000', 96, 18, '011110000000000000', 0), ('0000100', 96, 18, '011110000000000000', 0), ('1000000', 106, 18, '011110000000000000', 0), ('0100000', 106, 18, '011110000000000000', 0), ('0010000', 106, 18, '011110000000000000', 0), ('0001000', 106, 18, '011110000000000000', 0), ('0000100', 106, 18, '011110000000000000', 0), ('1000000', 116, 18, '011110000000000000', 0), ('0100000', 116, 18, '011110000000000000', 0), ('0010000', 116, 18, '011110000000000000', 0), ('0001000', 116, 18, '011110000000000000', 0), ('0000100', 116, 18, '011110000000000000', 0), ('1000000', 126, 18, '011110000000000000', 0), ('0100000', 126, 18, '011110000000000000', 0), ('0010000', 126, 18, '011110000000000000', 0), ('0001000', 126, 18, '011110000000000000', 0), ('0000100', 126, 18, '011110000000000000', 0), ('1000000', 136, 18, '011110000000000000', 0), ('0100000', 136, 18, '011110000000000000', 0), ('0010000', 136, 18, '011110000000000000', 0), ('0001000', 136, 18, '011110000000000000', 0), ('0000100', 136, 18, '011110000000000000', 0), ('1000000', 146, 18, '011110000000000000', 0), ('0100000', 146, 18, '011110000000000000', 0), ('0010000', 146, 18, '011110000000000000', 0), ('0001000', 146, 18, '011110000000000000', 0), ('0000100', 146, 18, '011110000000000000', 0), ('1000000', 156, 18, '011110000000000000', 0), ('0100000', 156, 18, '011110000000000000', 0), ('0010000', 156, 18, '011110000000000000', 0), ('0001000', 156, 18, '011110000000000000', 0), ('0000100', 156, 18, '011110000000000000', 0), ('1000000', 166, 18, '011110000000000000', 0), ('0100000', 166, 18, '011110000000000000', 0), ('0010000', 166, 18, '011110000000000000', 0), ('0001000', 166, 18, '011110000000000000', 0), ('0000100', 166, 18, '011110000000000000', 0), ('1000000', 176, 18, '011110000000000000', 3), ('0100000', 176, 18, '011110000000000000', 3), ('0010000', 176, 18, '011110000000000000', 3), ('0001000', 176, 18, '011110000000000000', 3), ('0000100', 176, 18, '011110000000000000', 3), ('1000000', 186, 18, '011110000000000000', 3), ('0100000', 186, 18, '011110000000000000', 3), ('0010000', 186, 18, '011110000000000000', 3), ('0001000', 186, 18, '011110000000000000', 3), ('1000000', 196, 18, '011110000000000000', 4), ('0100000', 196, 18, '011110000000000000', 4), ('0010000', 196, 18, '011110000000000000', 4), ('0001000', 196, 18, '011110000000000000', 4), ('1000000', 206, 18, '011110000000000000', 5), ('0100000', 206, 18, '011110000000000000', 5), ('0010000', 206, 18, '011110000000000000', 5), ('0001000', 206, 18, '011110000000000000', 5), ('1000000', 216, 18, '011110000000000000', 5), ('0100000', 216, 18, '011110000000000000', 5), ('0010000', 216, 18, '011110000000000000', 5), ('0001000', 216, 18, '011110000000000000', 5), ('1000000', 226, 18, '011110000000000000', 8), ('0100000', 226, 18, '011110000000000000', 8), ('0010000', 226, 18, '011110000000000000', 8), ('0001000', 226, 18, '011110000000000000', 8)]
# # c = list(itertools.product(a,b))
# # t.append([d,c])
# # print(t)
#
# a1 = (1, 10)
# a2 = ('0000001', 96, 18, '000000000000000100', 0)
# a3 = a1 + (a2,)
# print(a3)
#
# c= ((0,0),(111,22,5,6,0))
# print(c)
#
# c2 = [4,5,6]
# c1 = [1,2]
# tuple(c1)
# c2.append(c1)
# print(c2)
#
# a1 = (200,4)
# t1 = ((20,200),(456,6,5,True))
# t.append(a1 + t1)
# print(t)
# #
# # t.append(((200,0,True) + ((0,0),a1)))
# # print(t)
#
# print(4,5)
#
# # q1,q2= (276, 1), ('0100000', 204, 36, '011111111111100111', 0)
# # q3 = ((276, 1),q2)
# # print(q3)
#
# b1 = (2,3)
# b2 = [b1+(sum(b1),)]
# print(b2)

